package com.zb.internetSpider.gui.footerBar;

import java.awt.Color;
import java.awt.Component;
import java.awt.Font;

import javax.swing.JLabel;
import javax.swing.JPanel;

import com.zb.internetSpider.gui.SpiderComponent;
import com.zb.internetSpider.gui.SpiderContainer;

/**
 * <p>
 * 爬虫footer
 * </p>
 * 
 * @author 张贝
 *
 */
public abstract class AbstractSpiderFooterBar extends JPanel implements SpiderContainer {
	protected Color fontColor;

	protected Font font;

	public Color getFontColor() {
		return fontColor;
	}

	public void setFontColor(Color fontColor) {
		this.fontColor = fontColor;
	}

	public Font getFont() {
		return font;
	}

	public void setFont(Font font) {
		super.setFont(font);
		this.font = font;
	}

	public void init() {
			JLabel jLabel =new JLabel("copyright@张晋 ");
			jLabel.setFont(super.getFont());
			jLabel.setForeground(super.getForeground());
			super.add(jLabel);
	}

	@Override
	public void setBackGroundColor(Color color) {
		// TODO Auto-generated method stub
		
	}

}
